package com.itheima.factory;

import com.itheima.dao.OrderDao;
import com.itheima.dao.impl.OrderDaoImpl;

public class OrderDaoFactory {
    public OrderDao getOrderDao(){
        System.out.println("factory setup 实例工厂的方式实例化....");
        return new OrderDaoImpl();
    }
}
